package com.fhz.kotlinstest

import androidx.lifecycle.ViewModel
import dagger.hilt.android.lifecycle.HiltViewModel
import javax.inject.Inject

@HiltViewModel
class LoginViewModel @Inject constructor(val userRepository: UserRepository) :ViewModel() {

    suspend fun getBanner(): Banner {
        return userRepository.getBanner()
    }
}